<div class="container">
  <h1>api_auth()</h1>
  <p class="signature">function api_auth(): void</p>
  <h2>Description</h2>
  <div class="description">
    <p>Authenticate API requests and validate access based on API rules.</p>
    <p>This function validates API requests and ensures access based on defined API rules in 'api.json' files.</p>
  </div>
  <h2>Return Value</h2>
  <p>This function does not return a value; it performs authentication and validation.</p>
  <h2>Example Usage</h2>
  <div class="example">
    <pre>api_auth();</pre>
  </div>
</div>
